
import java.util.Locale;
import org.displaytag.decorator.TableDecorator;

/*
 * RadioBtnDecorator.java
 * This file contains Boeing intellectual property. It
 * may contain information about Boeing processes that are part of the Company's
 * competitive advantage. Release of this file requires prior approval from
 * Luxoft Management. Copyright (c) 2008, The Boeing Company All Rights Reserved
 */
/**
 *
 * @author dakhoa
 * @version 1.0
 */ 
public class RadioBtnDecorator extends TableDecorator {
   
    public String getSelect() {
        Locale lc = (Locale) getCurrentRowObject();
        StringBuffer buffer = new StringBuffer();
        buffer.append("<input type=\"radio\" name=\"\" value=\"");
        buffer.append("1," + getListIndex() + "\"");
        buffer.append(" onclick=\"onRowSelect(this.value) \"");
        buffer.append("\">");   

        return buffer.toString(); 
    }
}
